

const getLocationParams = (name:String)=>{
    let pages:any = getCurrentPages();
    let page = pages[pages.length - 1].$page.fullPath;
    return page.split(name+'=')[1]
}

export { getLocationParams } 